package com.xbongbong.pro.formexplain.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.saas.enums.XbbRefTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 获取关联产品字段解释 入参
 */
@Getter
@Setter
@ToString
public class ProductExplainDTO extends BaseDTO {

    private static final long serialVersionUID = -8566119627858904259L;

    /**
     * 字段
     */
    @NotNull(message = "{dto.msg.productExplain.attr.NotNull}")
    private String attr;
    /**
     *  业务对应枚举
     */
    @NotNull(message = "{dto.msg.productExplain.xbbRefTypeEnum.NotNull}")
    private XbbRefTypeEnum xbbRefTypeEnum;

}
